*{
    margin: 0;
    padding: 0;
}
html{
    /*默认的大小一般为16px*/
    font-size: 20px;
}
body {
    justify-content: center;
    /*隐藏右边所有视口外的内容，从而实现下边的滚动条不出现*/
    overflow-x:hidden;
}
/*#fullpage{*/
/*    display: flex;*/
/*    flex-flow: column wrap;*/
/*    justify-content: flex-start;*/
/*}*/

/*注意弹性布局的父与子属性*/
/*.containers{*/
/*    width:100% ;*/
/*    display: flex;*/
/*    !*flex-direction与flex-wrap（是否换行）的集合*!*/
/*    flex-flow:column wrap;*/
/*}*/

.div_anchor{
    width: 100vw;
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    display: flex;
    /*主轴方向*/
    justify-content: flex-end;
    /*items：若里面有多个（行），每一个当成一次对象*/
    align-items: center;
    flex-flow: column wrap;
}
#sad{
    width: 0.1%;
    height: 0.1%;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-user-drag: none;
    z-index: 10;
}
#main{
    width: 65%;
    height: 90%;
    display: flex;
    /*主轴方向*/
    justify-content: center;
    /*交叉轴（侧轴）方向*/
    align-content: flex-end;
    flex-flow: row wrap;
}
#main h2{
    font-family: 微软雅黑,serif;
    font-size: 4.4vw;
    color: rgb(253,132,3);
    text-shadow: 0.3vw  0.3vw black;
    letter-spacing: .6vw;
    display: flex;
}
#main h3{
    text-align: center;
    font-family: 微软雅黑,serif;
    font-size: 2.6vw;
    /*渐变字*/
    background-image: linear-gradient(180deg,rgb(254,126,0),rgb(250,255,7));
    -webkit-background-clip: text;
    color: transparent;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.2vw;
    text-shadow: 2px 2px 2px 2px rgba(0,0,0,0.3);
}
#main hr{
    height: 0.6vw;
    margin-left: 2%;
    margin-right: 4%;
    background-color: rgb(224,136,40);
    border: none;
    flex: 1;
}
#top_title{
    /*border: 2px solid blue;*/
}
#showMeg1{
    height: 75%;
    width: 100%;
    overflow: hidden;
    position: relative;
    /*cover和100%是不同的效果，cover会保持像素（图片比例不会变化），根据实际需要选择*/
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: flex;
    flex-flow: row nowrap;
}
#showMeg1 text{
    font-weight: 800;
    font-family: 微软雅黑,serif;
    font-size: 1.2rem;
    text-align: center;
    /*强制在同一行内显示所有文本，直到文本结束或者遭遇br标签对象才换行*/
    white-space:nowrap;
    color: white;
    text-shadow: red 1px 1px 1px;
    /*CSS3的一个属性，这个属性可以使页面上的字体抗锯齿,使用后字体看起来会更清晰舒服*/
    -webkit-font-smoothing: antialiased;
}
#showMeg1 .x1{
    height: 65%;
    flex-flow: column nowrap;
    justify-items: center;
    align-items: center;
    flex: 1;
    margin-right: 10%;
}
#showMeg1 .x2{
     flex: 1;
     margin-left: 10%;
 }
.x1 > div,
.x2 > div
{
    letter-spacing: .1vw;
    display: flex;
    align-items: center;
    justify-content: center;
}
.x1 :first-child{
    height: 20%;
}
.x1 :nth-child(2){
     height: 55%;
 }
.x1 :nth-child(3){
      height: 10%;
  }
.x2 :first-child{
    height: 20%;
    margin-bottom: 11%;
}
.x2 :nth-child(2){
    height: 20%;
    margin-top: -9%;
 }
.x2 :nth-child(3){
    height: 20%;
    margin-top:7%;
}
.x2 :nth-child(4){
    height:30%;
  }

#megOfCompany{
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    /*border: 3px solid blue;*/
}
#span_1{
    color: white;
    float: left;
    margin-top: 2%;
    margin-left: 3%;
    font-weight: lighter;
    flex:32;
}
#span_2{
    float: right;
    flex: 10;
    color: white;
    padding-top: 1%;
    padding-right: 1%;
    font-size: 1vw;
    font-weight: bolder;

}
.card{
    height: 25%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}
.card1{
    margin-top: -4%;
}
.card2{
    margin-top: -8%;
}
.div_text{
    width: 33%;
    /*-webkit-transform: scale(0.45);*/
}
.div_text text{
    line-height: 2.3vw;
    letter-spacing: 0.1vw;

}
.card .t1{
    width: 27%;
    margin-top: -1%;
    padding-left: 6%;
    text-align: right;
}
.card .t2{
    width: 31%;
    margin-top: -1%;
    padding-right: 2%;
}
.card .t3{
    width: 31%;
    padding-left: 2%;
    text-align: right;
}
.card .t4{
    width: 31%;
    padding-right: 2%;
}
.sub_titile1,
.sub_titile2,
.sub_titile3,
.sub_titile4
{
    display: flex;
    text-align: center;
    align-items: center;
    color: white;
    font-size: 2.2vw;
    width: 9%;
    height: 100%;
    padding: 0 2% 0 2%;
}
.sub_titile1{
    background-color: greenyellow;
    border-radius: 0 25% 0 25%;
    box-shadow:-0.7vw -0.7vw rgba(0,0,0,0.1);

}
.sub_titile2{
    background-color: rgb(246,153,0);
    border-radius: 25% 0 25% 0;
    box-shadow:0.7vw -0.7vw rgba(0,0,0,0.1);

}
.sub_titile3{
    background-color: rgb(214,84,6);
    border-radius: 25% 0 25% 0;
    box-shadow:-0.7vw 0.7vw rgba(0,0,0,0.1);

}
.sub_titile4{
    background-color: rgb(0,175,80);
    border-radius: 0 25% 0 25%;
    box-shadow:0.7vw 0.7vw rgba(0,0,0,0.1);
}

#megOfFarm{
    width: 95%;
    height: 92%;
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: end;
    margin-left: 2%;
    padding-right: 1%;
    border: 3px solid rgb(0,175,80);
}
#farmName{
    padding-top: 1%;
    /*字体拉长*/
    -webkit-transform: scale(1,1.3);
    font-weight: bolder;
    letter-spacing: 0.1vw;
    font-family: 宋体,微软雅黑,serif;
    color: rgb(1,119,58);
    font-size: 3vw;
}
#introduction{
    width: 22%;
    margin-top: 0.6%;
}
#introduction p{
    margin: 0;
    letter-spacing: 0.1vw;
    font-size: 0.75rem;
    font-family: 微软雅黑,宋体,黑体,serif;
    font-weight: 548;
    line-height: 1.4vw;
}
#p2 :nth-child(1){
    height: 7vw;
    width: 5%;
    float: left;
}
#p2 :nth-child(2){
    height: 5.5vw;
    width: 10%;
    float: left;
}
#p2 :nth-child(3){
    height: 4vw;
    width: 5%;
    float: left;
}
#showIntro{
    cursor: pointer;
}
#highLevel{
    margin: 0 0 0 0;
    padding: 1%;
    width:40vw;
    position: fixed;
    color: white;
    font-size: 1.5vw;
    background-color: rgba(0,122,255,1);
    border-radius: 2vw;
    z-index: -1;
    opacity: 0;
}

.images{
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
#titleOfFuture{
    margin-left: 7.5%;
    padding: 1% 0 0.6% 0;
    width: 85%;
    text-shadow: 0.2vw 0.3vw rgba(0,0,0,0.9);
    text-align: center;
    font-weight: bolder;
    letter-spacing: 0.2vw;
    font-size: 4.2vw;
    color: rgb(255,132,0);
    border-bottom: 0.45vw solid rgb(255,132,0);
}

/*自定义动画*/
/*更改为弹性布局后，有些错乱，应该是方向和对其方式及自动伸缩问题*/
@keyframes To-rgt {
    from {
        margin-left: -400px;
    }
    to {
        margin-left: 0;
    }
}
@keyframes To-lef {
    from {
        opacity: 0;
        margin-left: 250px;
    }
    to {
        opacity: 1;
        margin-left: 1%;
    }
}
@keyframes To-up {
    from {
        opacity: 0;
        margin-top: 200px;
    }
    to {
        opacity: 1;
        margin-top: 0;
    }
}
@keyframes To-big {
    from{
        opacity: 0;
        margin-top: 5%;
        width: 60vw;
        height: 41.4vw;
    }
    to{
        margin-top: 0;
        opacity: 1;
        width: 70vw;
        height: 46vw;
    }
}
@keyframes To-show {
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

/*这个仅需要动一次故就不在js里面写了*/
#showMeg1{
    /*animation自定义动画，参数（@keyframes'sName 播放时长 播放次数）若需要加多个动画，参数那里加逗号分开即可*/
    animation: To-up 1.5s 1;
    /*语法定义：transition（过渡）: property（css属性） duration（时间） timing-function（速度曲线|默认变慢|） delay;*/
    transition: all 0.8s;
}
#showMeg1 .x1,#showMeg1 .x2{
    animation: To-show 2s 1;
    transition: all 1s;
}

/*媒体查询（自适应布局）PC端*/
@media screen  and (max-width: 1500px){
    #introduction p{
        margin-top: 4%;
        font-size: 0.8rem;
        line-height: 20px;
    }
    #p2{
        margin-top: -4%;
    }
}
@media screen  and (max-width: 1307px){
    #megOfCompany{
         height: 50vw;
     }
    .card .div_text{
        font-size: 1.5vw;
    }
}
@media screen  and (max-width: 1200px){
    .section{
        width: 100vw !important;
        /*border: 2px solid yellow;*/
        /*height:10vw !important;*/
    }
    #megOfFarm{
        height: 60vw;
    }
    #span_2{
        margin: 0 4% 0 0;
        flex: none;
        padding: 0;
        /*scale <=> scaleX + scaleY,若值为负数时能实现翻转效果*/
        -webkit-transform: scale(0.9);
    }

    #introduction{
        width: 18%;
        height: 90%;
        overflow: hidden;
        white-space: inherit;
    }


}


/* 735-1050px */
@media screen and (min-width: 735px) and (max-width: 1050px){
    #main{
        width: 70%;
    }
    #main h2{
        text-shadow:6px 0.3vw 6px 0.3vw black;
    }
    #showMeg1 text{
        font-size: 1.1rem;
    }

    #span_2{
        margin: -1% 2% 0 0;
        /*scale <=> scaleX + scaleY,若值为负数时能实现翻转效果*/
        -webkit-transform: scale(0.7);
    }

}
/*/* 505-734px */
@media screen and (min-width: 505px) and (max-width: 734px){
    #main{
        width: 90%;
    }
    #showMeg1 text{
        font-size: 1rem;
    }
    .x2 :nth-child(2),
    .x2 :nth-child(3){
        margin-right: 1%;
    }

    #megOfCompany{
        margin-bottom: 25%;
    }
    #span_2{
         margin: -0.5% 0.2% 0 0;
         -webkit-transform: scale(0.7);
     }

}
/* 3-504px */
@media screen and (min-width:3px) and (max-width: 504px){
    #main{
        width: 95%;
    }
    #main h2{
        text-shadow:6px 0.3vw 6px 0.3vw black;
    }
    #showMeg1 text{
        font-size: 1rem;
    }
    .x2 :nth-child(2){
        margin-right: 7%;
    }

    #megOfCompany{
        margin-bottom: 32%;
    }
    #span_2{
        margin: -0.9% -1% 0 0;
        -webkit-transform: scale(0.7);
    }
}

/*/*手机端*/
@media screen and (min-device-width:280px) and (max-device-width: 920px){
    #main{
        width: 95%;
    }
    #main h2{
        font-size: 5vw;
        text-shadow:6px 0.3vw 6px 0.3vw black;
    }
    #main h3{
        font-size: 3vw;
        margin-bottom: 4%;
    }
    #showMeg1 text{
        font-size: 0.6rem;
    }
    .x2 :nth-child(1){
        margin-top: -1%;
        padding-bottom: 3%;
    }
    .x2 :nth-child(2){
        margin-right: 7%;
    }
    #showMeg1 .x2 :nth-child(3){
        padding-top: 4%;
    }

    .section{
        width: 100vw;
        height: 50vw;
    }
    .sec1,
    .div_anchor{
        height: 55vh;
    }

    #span_1{
        float: left;
        margin-top: 0.5%;
        margin-right: 72%;
        flex: none;
    }
    #span_2{
        margin: -8% 0 0 64%;
        flex: none;
        letter-spacing: 0.5vw;
        /*color: black;*/
        padding: 0;
        /*scale <=> scaleX + scaleY,若值为负数时能实现翻转效果*/
        -webkit-transform: scale(0.40);
    }

    .card{
        /*display: block;*/
        float: left;
    }
    .card1,.card2{
        height: 70vw;
    }
    .card .div_text{
         padding: 1%;
         float: left;
         width: 67%;
        /*background-image: linear-gradient(to right top, rgba(255,255,255,0.3), rgba(255,255,255,0.7));*/
         background-color: rgba(204,255,255,1);
         border: 1px solid rgba(204,204,204,1);
         font-size: 3.2vw;
         letter-spacing: 0.3vw;
         /*height: 54.4%;*/
     }
    .sub_titile1,
    .sub_titile2,
    .sub_titile3,
    .sub_titile4{
        box-shadow: none;
        border-radius: unset;
        border: 5px double #FFCCFF;
        font-size: 1rem;
        float: left;
        /*height: 50%;*/
        width: 20%;
        /*display: block;*/
    }
    .sub_titile1{
        width: 15%;
        height: 25%;
        margin-top: 9%;
    }
    .card .t1{
        height: fit-content;
        width: 72%;
        /*margin-left: 3%;*/
        margin-top: 9%;
    }
    .sub_titile2{
        margin-top: -6%;
        height: 36%;
    }
    .card .t2{
        margin-top: -6%;
        height: fit-content;
    }
    .sub_titile3{
        margin-top: 2%;
        height: 60%;
    }
    .card .t3{
        margin-top: 2%;
        /*height: 60%;*/
    }
    .sub_titile4{
        margin-top: 3%;
        height: 48%;
    }
    .card .t4{
        margin-top: 3%;
        /*height: 48%;*/
    }
    /*.sub_titile3,*/
    /*.sub_titile4{*/
    /*    float: left;*/
    /*}*/
    #fill01{
        width: 100%;
        height: 110vw;
    }

    #farmName{
        font-size: 0.5rem;
        -webkit-transform: scale(0.95);
    }
    #introduction{
        margin-top: 57%;
        width: 100%;
    }
    #introduction p{
        background-color: #1ae770;
        width: 100%;
        font-size: 0.8rem;
        line-height: 5vw;
    }
    #p2{
        margin-top: -8.2%;
    }
    #p2 :nth-child(1),
    #p2 :nth-child(2){
        width: 0;
        height: 0;
    }
    #p2 :nth-child(3){
        width: 53%;
    }
    #fill02{
        width: 100%;
        height: 116vw;
    }

}
@media screen and (min-device-width:420px) and (max-device-width: 920px){
    #main{
        width: 80%;
    }
    #main h2{
        text-shadow:6px 0.3vw 6px 0.3vw black;
    }
    #showMeg1 text{
        font-size: 1.2rem;
    }
    .x2 :nth-child(2){
        margin-right: 7%;
    }

}
@media screen and (min-device-width:501px) and (max-device-width: 769px){
    #showMeg1 .x2 :nth-child(1){
        padding-top: 0;
        margin-top: -2%;
    }
    #showMeg1 .x2 :nth-child(3){
        padding-top: 6%;
    }
}
@media screen and (min-device-width:501px) and (max-device-width: 600px){
    #showMeg1 text{
        font-size: 0.9rem;
    }
}